#include "searcher.hpp"

const std::string input = "data/raw_html/raw.txt";

Log lg;

int main()
{
    ns_searcher::Searcher* search = new ns_searcher::Searcher();
    search->InitSearcher(input);
    
    std::string keywords;
    std::string js;
    while(true)
    {
        std::cout << "Please Enter the keywords:";
        std::cin >> keywords;
        search->Search(keywords, &js);
        std::cout << js << std::endl;
    }

    return 0;
}